<?php
/**
 * @copyright 
 * @license https://opensource.org/licenses/Apache-2.0
 * @link https://www.gougucms.com
 */

namespace app\admin\validate;
use think\Validate;

class DeviceBackValidate extends Validate
{
    protected $rule = [
    'uid' => 'require',
    'device_id' => 'require',
    'num_one' => 'require',
    'num_two' => 'require',
    'content' => 'require',
    'img' => 'require',
    'create_time' => 'require',
];

    protected $message = [
    'uid.require' => '补酒员ID不能为空',
    'device_id.require' => '设备ID不能为空',
    'num_one.require' => '应补酒数量不能为空',
    'num_two.require' => '实际补酒数量不能为空',
    'content.require' => '描述情况不能为空',
    'img.require' => '图片不能为空',
    'create_time.require' => '提交时间不能为空',
];
}